<div class="title">Cập nhật chỉ tiêu</div>
<?php echo $this->Form->create('System', array('action' => 'addChiTieu')); ?>
	<?php if (isset($errors) && !empty($errors)): ?>
	<div id="errors">
		<ul>
			<?php foreach ($errors as $rules):
				foreach ($rules as $key => $error):
				?>
				<li><?php echo $error;?></li>
			<?php endforeach; endforeach ?>
		</ul>
	</div>
	<?php endif ?>
	
	<p>
		<span class="title">Tên chỉ tiêu<span class="required">*</span></span>
		<span><?php echo $this->Form->input('ChiTieu.ten', array('div' => false, 'label' => false));?>
			<?php echo $this->Form->hidden('ChiTieu.id', array('div' => false, 'label' => false));?>
		</span>
	</p>
	<p>
		<span class="title">Thủ tục hành chính<span class="required">*</span></span>
		<span><?php echo
				$this->Form->input('ChiTieu.tthc_id',array(
                                      'type' => 'select',
                                      'options' => $tthcs,
                                      'div' => false,
                                      'label' => false
                                  ));
				?>
			</span>
	</p>
	<p>
		<span class="title">Mã quốc gia<span class="required">*</span></span>
		<span><?php echo $this->Form->input('ChiTieu.ma', array('div' => false, 'label' => false,'id' => 'ma', 'style' => 'width: 80px;'));?></span>
	</p>
	<p>
		<span class="title">Đơn vị tính<span class="required">*</span></span>
		<span><?php echo $this->Form->input('ChiTieu.don_vi_tinh', array('div' => false, 'label' => false));?></span>
	</p>
	<input type="submit" value="Cập nhật"/>
<?php echo $this->Form->end(); ?>